//
//  TJStatus.h
//  TJSinaWeiBo_OC
//
//  Created by 唐后能 on 16/4/27.
//  Copyright © 2016年 itheima. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TJUser.h"

@interface TJStatus : NSObject
// 创建时间.
@property (nonatomic, copy) NSString *created_at;
// 微博id.
@property (nonatomic, assign) int *Id;
// 微博内容.
@property (nonatomic, copy) NSString *text;
// 微博来源.
@property (nonatomic, copy) NSString *source;
// 微博配图字典数组.
@property (nonatomic, strong) NSArray<NSDictionary*> *pic_urls;
// 微博配图url数组(低像素的)-->外界直接调用.
@property (nonatomic, strong) NSMutableArray<NSURL*> *thumbnail_pics;
// 微博配图url数组(高像素的)-->供外界直接调用.(点击cell,进入图片浏览器时用)
@property (nonatomic, strong) NSMutableArray<NSURL*> *bmiddle_pics;
// 用户模型(服务器返回的是字典,需要自己转成模型)
@property (nonatomic, strong) TJUser *user;
// 被转发微博模型.
@property (nonatomic, strong) TJStatus *retweeted_status;

// 字典转模型的方法.
-(instancetype)initWithDict:(NSDictionary*)dict;
+(instancetype)statusWithDict:(NSDictionary*)dict;

@end
